package com.dk.service;


import com.dk.pojo.relaxation.Relaxation;
import com.github.pagehelper.PageInfo;

public interface RelaxationService {
    PageInfo<Relaxation> show(Relaxation relaxation,Integer pageNumber, Integer pageSize);

    boolean addInfo(Relaxation achievement,Integer playerAccount);

    Relaxation toUpdatet(Integer id);

    boolean updateInfo(Relaxation achievement,Integer playerAccount);

    boolean deleteInfo(Integer id);

    PageInfo<Relaxation> showByWork(Integer playerAccount, Relaxation relaxation, Integer pageNumber, Integer pageSize);
}
